<!DOCTYPE html>
<html ng-app="myApp" ng-controller="myObj">
	<head> 
		<meta charset="UTF-8">
		<script src="http://apps.bdimg.com/libs/angular.js/1.4.6/angular.min.js"></script>
		<title></title>
	</head>
	<body>
		<div >
		
		<p>循环对象：</p>
		<ul>
		  <li ng-repeat="x in names">
		    {{ x.name + ', ' + x.country }}

		  </li>
		</ul>
		 
		</div> 
		<script type="text/javascript">
			var app = angular.module('myApp', []);
			app.controller('myObj', function($scope){
				$scope.names = [
		{name:'Jani',country:'Norway'},
		{name:'Hege',country:'Sweden'},
		{name:'Kai',country:'Denmark'}];
			});
		</script>
	</body>
</html>
